package com.hongtech.modules.knowledge.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.hongtech.common.page.PageData;
import com.hongtech.common.service.CrudService;
import com.hongtech.modules.knowledge.dto.AuthDTO;
import com.hongtech.modules.knowledge.entity.AuthEntity;

import java.util.Map;

/**
 * 认证信息
 *
 * @author lch 123456789@qq.com
 * @since 1.0.0 2023-09-17
 */
public interface AuthService extends CrudService<AuthEntity, AuthDTO> {

    PageData<AuthDTO> pageAuth(Map<String, Object> pageParams, LambdaQueryWrapper<AuthEntity> ew);

    AuthDTO getUserAuthByUserId(Long userId);

}